<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>ceil</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>ceil</b> -  rounding up</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[y]=ceil(x)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>x</b>
        </tt>: a real matrix</li>
      <li>
        <tt>
          <b>y</b>
        </tt>: integer matrix</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>ceil(x)</b>
      </tt>  returns an integer matrix made of rounded up elements</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

ceil([1.9 -2.5])-[2,-2]
ceil(-%inf)
x=rand()*10^20;ceil(x)-x
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="round.htm">
        <tt>
          <b>round</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="floor.htm">
        <tt>
          <b>floor</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="int.htm">
        <tt>
          <b>int</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
